package huu.phong.sshchecker;

import java.io.IOException;
import java.io.OutputStream;

public class PortOutputStream extends OutputStream {
	
	private StringBuilder builder = new StringBuilder();

	@Override
	public void write(int code) throws IOException {
		builder.append((char) code);
	}
	
	public String getString() {
		return builder.toString();
	}
}
